import store from '@/store'
export function checkFunctionId(functionId) {
    if (functionId) {
        const permissions = store.getters && store.getters.functionIds

        const hasPermission = permissions.includes(functionId)

        if (!hasPermission) {
            return false
        }
    }
    return true
}
